package com.cssw.fyzb.web.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * @description:
 * @author: zzf
 * @time: 2020/12/22 19:14
 */
@Getter
@Setter
public class UpdateFuncDto {

    @ApiModelProperty("菜单标识")
    @NotNull(message = "菜单标识不能为空")
    private Long funcId;

    @ApiModelProperty("夫菜单")
    @NotNull(message = "父菜单标识不允许为null")
    private Long supFuncId;

    @ApiModelProperty("菜单名称")
    @NotNull(message = "菜单名称不能为空")
    private String funcName;

    @ApiModelProperty("菜单编码")
    @NotNull(message = "菜单编码不能为空")
    private String funcCode;

    @ApiModelProperty("菜单图标")
    private String funcIcon;

    @ApiModelProperty("菜单类型")
    @NotNull(message = "菜单类型不能为空")
    private String funcType;

    @ApiModelProperty("菜单地址")
    @NotNull(message = "菜单地址不能为空")
    private String funcUrl;

    @ApiModelProperty("状态")
    @NotNull(message = "状态不能为空")
    private String status;

    @ApiModelProperty("排序")
    @NotNull(message = "排序不能为空")
    private Integer sort;
}
